<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>查看预约情况</title>
  <link rel="stylesheet" href="https://at.alicdn.com/t/c/font_3736758_vxpb728fcyh.css">
  <!-- 引入bootstrap.css -->
  <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.2.3/css/bootstrap.min.css" rel="stylesheet">
  <!-- 核心样式 -->
  <link rel="stylesheet" href="./check.css">
</head>

<body>
  <div class="AA">
    <ul>
      <li class="A li">
        <a href="" class="first">首页</a>
      </li>
    </ul>
    <ul>
      <li class="B li message"><a href="">实验室信息</a></li>
    </ul>
    <ul>
      <li class="li reserve"><a href="">预约实验室</a></li>
    </ul>
    <ul>
      <li class="li check"><a href="">查看预约情况</a></li>
    </ul>
    <a href="">
      <h4>用户中心</h4>
    </a>
  </div>

  <div class="container">
    <table class="table">
      <thead class="table-light">
        <tr>
          <th style="width: 150px;">实验室代号</th>
          <th>实验室名称</th>
          <th>负责人</th>
          <th>出版社</th>
          <th style="width: 180px;">操作</th>
        </tr>
      </thead>
      <tbody class="list">
        <tr>
          <td>1</td>
          <td>JavaScript程序设计</td>
          <td>马特·弗里斯比</td>
          <td>人民邮电出版社</td>
          <td>
            <span class="del">预约</span>
            <span class="edit">取消</span>
          </td>
        </tr>
      </tbody>
    </table>
  </div>
  <div class="modal fade add-modal">
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header top">
          <span>添加图书</span>
          <button type="button" class="btn-close" aria-label="Close" data-bs-dismiss="modal"></button>
        </div>
        <div class="modal-body form-wrap">
          <form class="add-form">
            <div class="mb-3">
              <label for="bookname" class="form-label">书名</label>
              <input type="text" class="form-control bookname" placeholder="请输入书籍名称" name="bookname">
            </div>
            <div class="mb-3">
              <label for="author" class="form-label">作者</label>
              <input type="text" class="form-control author" placeholder="请输入作者名称" name="author">
            </div>
            <div class="mb-3">
              <label for="publisher" class="form-label">出版社</label>
              <input type="text" class="form-control publisher" placeholder="请输入出版社名称" name="publisher">
            </div>
          </form>
        </div>
        <div class="modal-footer btn-group">
          <button type="button" class="btn btn-primary" data-bs-dismiss="modal"> 取消 </button>
          <button type="button" class="btn btn-primary add-btn"> 保存 </button>
        </div>
      </div>
    </div>
  </div>
  <div class="modal fade edit-modal">
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header top">
          <span>编辑图书</span>
          <button type="button" class="btn-close" aria-label="Close" data-bs-dismiss="modal"></button>
        </div>
        <div class="modal-body form-wrap">
          <form class="edit-form">
            <input type="hidden" class="id" name="id">
            <div class="mb-3">
              <label for="bookname" class="form-label">书名</label>
              <input type="text" class="form-control bookname" placeholder="请输入书籍名称" name="bookname">
            </div>
            <div class="mb-3">
              <label for="author" class="form-label">作者</label>
              <input type="text" class="form-control author" placeholder="请输入作者名称" name="author">
            </div>
            <div class="mb-3">
              <label for="publisher" class="form-label">出版社</label>
              <input type="text" class="form-control publisher" placeholder="请输入出版社名称" name="publisher">
            </div>
          </form>
        </div>
        <div class="modal-footer btn-group">
          <button type="button" class="btn btn-primary" data-bs-dismiss="modal"> 取消 </button>
          <button type="button" class="btn btn-primary edit-btn"> 修改 </button>
        </div>
      </div>
    </div>
  </div>
  <script src="https://cdn.bootcdn.net/ajax/libs/axios/1.2.0/axios.min.js"></script>
  <script src="./form-serialize.js"></script>
  <script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.2.3/js/bootstrap.min.js"></script>
  <script src="./message.js"></script>
  <script>
    var first = document.querySelector(".first")
    first.onclick = function () {
      window.open("file:///C:/Users/%E5%90%B4%E6%98%8E%E7%91%B6/Desktop/shetuan/srp%E9%A1%B9%E7%9B%AE/index.html")
    }
    var message = document.querySelector(".message")
    message.onclick = function () {
      window.open("file:///C:/Users/%E5%90%B4%E6%98%8E%E7%91%B6/Desktop/shetuan/srp%E9%A1%B9%E7%9B%AE/message.html")
    }
    var reserve = document.querySelector(".reserve")
    reserve.onclick = function () {
      window.open("file:///C:/Users/%E5%90%B4%E6%98%8E%E7%91%B6/Desktop/shetuan/srp%E9%A1%B9%E7%9B%AE/reserve.html")
    }
    var check = document.querySelector(".check")
    check.onclick = function () {
      window.open("file:///C:/Users/%E5%90%B4%E6%98%8E%E7%91%B6/Desktop/shetuan/srp%E9%A1%B9%E7%9B%AE/check.html")
    }
    var user = document.querySelector(".user")
    user.onclick = function () {
      window.open("file:///C:/Users/%E5%90%B4%E6%98%8E%E7%91%B6/Desktop/shetuan/srp%E9%A1%B9%E7%9B%AE/user.html")
    }
  </script>
</body>

</html>